package com.myhome.money.activemq.moneyactivemq.controller;

import com.myhome.money.activemq.moneyactivemq.demo.Producer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 许路路
 */
@RestController
public class Test {

    @Autowired
    private Producer producer;

    @RequestMapping("test")
    public void test() {
        producer.send("654567");
        System.out.println("1234321");
    }

}
